export default class state{
  constructor(){
    this.buff = []
  }
  add(tab){
    for (var key in tab) {
      let _love = tab[key]
      this.buff[_love.name] = _love
    }
  }
}